package com.relytosoft.mizar.analyze.face.api.pojo.query;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author lj
 * @date 2022/5/24 18:10
 */
public class AyFaceSearchQuery {

    private String deviceId;

    private String sex;

    private String age;

    private String glasses;

    private String sunglasses;

    private String smile;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date endTime;

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getGlasses() {
        return glasses;
    }

    public void setGlasses(String glasses) {
        this.glasses = glasses;
    }

    public String getSunglasses() {
        return sunglasses;
    }

    public void setSunglasses(String sunglasses) {
        this.sunglasses = sunglasses;
    }

    public String getSmile() {
        return smile;
    }

    public void setSmile(String smile) {
        this.smile = smile;
    }

    @Override
    public String toString() {
        return "AyFaceSearchQuery{" +
                "deviceId='" + deviceId + '\'' +
                ", sex='" + sex + '\'' +
                ", age='" + age + '\'' +
                ", glasses='" + glasses + '\'' +
                ", sunglasses='" + sunglasses + '\'' +
                ", smile='" + smile + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                '}';
    }
}
